package statePattern;

public abstract class State {
	StateMachine machine;
	int stateCode;

	public State(StateMachine machine) {
		this.machine = machine;
	}

	abstract public void action1();

	abstract public void action2();

	abstract public void action3();

	public int getState() {
		return stateCode;
	}

}
